#ifndef NOTIFY_H_
#define NOTIFY_H_
#include "message.h"

class Notify : public Message {
private:
	std::string file_name;
	char type;
public:
	Notify(std::string* file_name, char t) : Message (12) {
			this->file_name=*file_name;
			type=t;
		}

	Notify(std::string* file_name, char t,std::string user, std::string pass) : Message (12,user,pass) {
		this->file_name=*file_name;
		type=t;
	}

	~Notify() {}

	std::string Format() {
		string result;
		result.push_back(type);
		result+=file_name;
		return result;
	}
	std::string getFileName(){
		return file_name;
	}
	char getType(){
		return type;
	}
};



#endif /* NOTIFY_H_ */
